package com.aaa.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * Table: ums_integration_change_history
 */
@Data
public class UmsIntegrationChangeHistory implements Serializable {
    /**
     * Table:     ums_integration_change_history
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * 会员ID
     *
     * Table:     ums_integration_change_history
     * Column:    member_id
     * Nullable:  true
     */
    private Long memberId;

    /**
     * 店铺ID
     *
     * Table:     ums_integration_change_history
     * Column:    shop_id
     * Nullable:  true
     */
    private Long shopId;

    /**
     * 创建记录时间
     *
     * Table:     ums_integration_change_history
     * Column:    create_time
     * Nullable:  true
     */
    private Date createTime;

    /**
     * 积分变化类型 1. 外卖下单获取积分，2.食堂下单获取积分，3. 管理员修改 ，4. 积分兑换消耗积分
     *
     * Table:     ums_integration_change_history
     * Column:    change_type
     * Nullable:  true
     */
    private Integer changeType;

    /**
     * 积分改变数量
     *
     * Table:     ums_integration_change_history
     * Column:    change_count
     * Nullable:  true
     */
    private Integer changeCount;

    /**
     * 操作人员
     *
     * Table:     ums_integration_change_history
     * Column:    operate_man
     * Nullable:  true
     */
    private String operateMan;

    /**
     * 操作备注
     *
     * Table:     ums_integration_change_history
     * Column:    operate_note
     * Nullable:  true
     */
    private String operateNote;

    /**
     * 积分来源：0->购物奖励；1->管理员修改；2->购物消费
     *
     * Table:     ums_integration_change_history
     * Column:    source_type
     * Nullable:  true
     */
    private Integer sourceType;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table ums_integration_change_history
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}